GET PlanCare2Api/Questionnaires/FilledQuestionnairesForRelations?relationIds[0]={relationIds[0]}&relationIds[1]={relationIds[1]}&questionnaireGuid={questionnaireGuid}&filledQuestionnairesStatus={filledQuestionnairesStatus}

Gets filled questionnaires for multiple relations.

Request Information

URI Parameters

Name Description Type Additional information
relationIds

List of id's for relations.

Collection of integer

Required

questionnaireGuid

The id of the questionnaire.

globally unique identifier

Nullable

filledQuestionnairesStatus

The status of the filled questionnaire.

string

-

Body Parameters

None.

Response Information

Resource Description

Filled questionnaires for which the user has read permission.

Collection of FilledQuestionnaire
Name Description Type Additional information
Id

Id.

integer

-

RelationId

Id of the relation.

integer

-

RelationLookUpName

LookUpName of the relation.

string

-

ClientId

Id of the client.

integer

Deprecated (unavailable from 21.01.1P): Please use 'RelationId' instead.

Status

Status.

FilledQuestionnaireStatus

-

StatusDescription

Description of the status.

string

-

QuestionnaireGuid

Guid of the questionnaire.

globally unique identifier

-

QuestionnaireName

Name of the questionnaire.

string

-

QuestionnaireVersion

Version of the questionnaire.

string

-

CreatedBy

CreatedBy.

string

-

CreatedOn

CreatedOn.

date

-

LastChangedBy

LastChangedBy.

string

-

LastChangedOn

LastChangedOn.

date

Nullable

Locked

Locked.

boolean

-

LockedByLoggedOnAccessUser

LockedByLoggedOnAccessUser.

boolean

-

LockedBy

LockedBy.

string

-

LockedOn

LockedOn.

date

Nullable

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Id": 1,
    "RelationId": 2,
    "RelationLookUpName": "sample string 3",
    "ClientId": 4,
    "Status": 1,
    "StatusDescription": "sample string 5",
    "QuestionnaireGuid": "8b2729f3-dc00-4389-b5c2-aec6507f20ac",
    "QuestionnaireName": "sample string 7",
    "QuestionnaireVersion": "sample string 8",
    "CreatedBy": "sample string 9",
    "CreatedOn": "2026-05-26T22:07:27.7564642+02:00",
    "LastChangedBy": "sample string 11",
    "LastChangedOn": "2026-05-26T22:07:27.7564642+02:00",
    "Locked": true,
    "LockedByLoggedOnAccessUser": true,
    "LockedBy": "sample string 14",
    "LockedOn": "2026-05-26T22:07:27.7564642+02:00"
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfFilledQuestionnaire xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Questionnaire">
  <FilledQuestionnaire>
    <ClientId>4</ClientId>
    <CreatedBy>sample string 9</CreatedBy>
    <CreatedOn>2026-05-26T22:07:27.7564642+02:00</CreatedOn>
    <Id>1</Id>
    <LastChangedBy>sample string 11</LastChangedBy>
    <LastChangedOn>2026-05-26T22:07:27.7564642+02:00</LastChangedOn>
    <Locked>true</Locked>
    <LockedBy>sample string 14</LockedBy>
    <LockedByLoggedOnAccessUser>true</LockedByLoggedOnAccessUser>
    <LockedOn>2026-05-26T22:07:27.7564642+02:00</LockedOn>
    <QuestionnaireGuid>8b2729f3-dc00-4389-b5c2-aec6507f20ac</QuestionnaireGuid>
    <QuestionnaireName>sample string 7</QuestionnaireName>
    <QuestionnaireVersion>sample string 8</QuestionnaireVersion>
    <RelationId>2</RelationId>
    <RelationLookUpName>sample string 3</RelationLookUpName>
    <Status>Concept</Status>
    <StatusDescription>sample string 5</StatusDescription>
  </FilledQuestionnaire>
  <FilledQuestionnaire>
    <ClientId>4</ClientId>
    <CreatedBy>sample string 9</CreatedBy>
    <CreatedOn>2026-05-26T22:07:27.7564642+02:00</CreatedOn>
    <Id>1</Id>
    <LastChangedBy>sample string 11</LastChangedBy>
    <LastChangedOn>2026-05-26T22:07:27.7564642+02:00</LastChangedOn>
    <Locked>true</Locked>
    <LockedBy>sample string 14</LockedBy>
    <LockedByLoggedOnAccessUser>true</LockedByLoggedOnAccessUser>
    <LockedOn>2026-05-26T22:07:27.7564642+02:00</LockedOn>
    <QuestionnaireGuid>8b2729f3-dc00-4389-b5c2-aec6507f20ac</QuestionnaireGuid>
    <QuestionnaireName>sample string 7</QuestionnaireName>
    <QuestionnaireVersion>sample string 8</QuestionnaireVersion>
    <RelationId>2</RelationId>
    <RelationLookUpName>sample string 3</RelationLookUpName>
    <Status>Concept</Status>
    <StatusDescription>sample string 5</StatusDescription>
  </FilledQuestionnaire>
</ArrayOfFilledQuestionnaire>